<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::CARTree&lt; LabelType &gt;::Node Struct Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_c_a_r_tree.html">CARTree</a></li><li class="navelem"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="structshark_1_1_c_a_r_tree_1_1_node-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::CARTree&lt; LabelType &gt;::Node Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_c_a_r_tree_8h_source.html">shark/Models/Trees/CARTree.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7f0359db7d16743640dbd9478f8fc5f7" id="r_a7f0359db7d16743640dbd9478f8fc5f7"><td class="memTemplParams" colspan="2">template&lt;class Archive &gt; </td></tr>
<tr class="memitem:a7f0359db7d16743640dbd9478f8fc5f7"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a7f0359db7d16743640dbd9478f8fc5f7">serialize</a> (Archive &amp;ar, const unsigned int version)</td></tr>
<tr class="separator:a7f0359db7d16743640dbd9478f8fc5f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a34ad7528c92f121a423e5d1eee67e2c9" id="r_a34ad7528c92f121a423e5d1eee67e2c9"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a34ad7528c92f121a423e5d1eee67e2c9">attributeIndex</a></td></tr>
<tr class="separator:a34ad7528c92f121a423e5d1eee67e2c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66da98a2835cb62d1733dd1bced14420" id="r_a66da98a2835cb62d1733dd1bced14420"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a66da98a2835cb62d1733dd1bced14420">attributeValue</a></td></tr>
<tr class="separator:a66da98a2835cb62d1733dd1bced14420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bbe86af026b6427b81f73d56630d20e" id="r_a9bbe86af026b6427b81f73d56630d20e"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a9bbe86af026b6427b81f73d56630d20e">leftId</a></td></tr>
<tr class="separator:a9bbe86af026b6427b81f73d56630d20e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76b5e6f60f3f6a8d5938c5ac4ccb1a4b" id="r_a76b5e6f60f3f6a8d5938c5ac4ccb1a4b"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">rightIdOrIndex</a></td></tr>
<tr class="separator:a76b5e6f60f3f6a8d5938c5ac4ccb1a4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class LabelType&gt;<br />
struct shark::CARTree&lt; LabelType &gt;::Node</div>
<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00059">59</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a7f0359db7d16743640dbd9478f8fc5f7" name="a7f0359db7d16743640dbd9478f8fc5f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f0359db7d16743640dbd9478f8fc5f7">&#9670;&#160;</a></span>serialize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<div class="memtemplate">
template&lt;class Archive &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::Node::serialize </td>
          <td>(</td>
          <td class="paramtype">Archive &amp;&#160;</td>
          <td class="paramname"><em>ar</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>version</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>&lt; either id of right node or index to label array</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00066">66</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a34ad7528c92f121a423e5d1eee67e2c9">shark::CARTree&lt; LabelType &gt;::Node::attributeIndex</a>, <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a66da98a2835cb62d1733dd1bced14420">shark::CARTree&lt; LabelType &gt;::Node::attributeValue</a>, <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a9bbe86af026b6427b81f73d56630d20e">shark::CARTree&lt; LabelType &gt;::Node::leftId</a>, and <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">shark::CARTree&lt; LabelType &gt;::Node::rightIdOrIndex</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a34ad7528c92f121a423e5d1eee67e2c9" name="a34ad7528c92f121a423e5d1eee67e2c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34ad7528c92f121a423e5d1eee67e2c9">&#9670;&#160;</a></span>attributeIndex</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::Node::attributeIndex</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00060">60</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a7f0359db7d16743640dbd9478f8fc5f7">shark::CARTree&lt; LabelType &gt;::Node::serialize()</a>, and <a class="el" href="classshark_1_1_c_a_r_tree.html#a2e1416b62cbf5b9704fb0d3ff8e3fa4d">shark::CARTree&lt; LabelType &gt;::transformLeafNode()</a>.</p>

</div>
</div>
<a id="a66da98a2835cb62d1733dd1bced14420" name="a66da98a2835cb62d1733dd1bced14420"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66da98a2835cb62d1733dd1bced14420">&#9670;&#160;</a></span>attributeValue</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::Node::attributeValue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00061">61</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a7f0359db7d16743640dbd9478f8fc5f7">shark::CARTree&lt; LabelType &gt;::Node::serialize()</a>.</p>

</div>
</div>
<a id="a9bbe86af026b6427b81f73d56630d20e" name="a9bbe86af026b6427b81f73d56630d20e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bbe86af026b6427b81f73d56630d20e">&#9670;&#160;</a></span>leftId</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::Node::leftId</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00062">62</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_a_r_tree.html#ad91c08d09c8d94522cb44b7807a73ade">shark::CARTree&lt; LabelType &gt;::createRoot()</a>, <a class="el" href="classshark_1_1_c_a_r_tree.html#ae38eaeb8b77503cb46cdefdce5d363ca">shark::CARTree&lt; LabelType &gt;::reorderBFS()</a>, <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a7f0359db7d16743640dbd9478f8fc5f7">shark::CARTree&lt; LabelType &gt;::Node::serialize()</a>, <a class="el" href="classshark_1_1_c_a_r_tree.html#a3cb77d15a5e99bfb46b1d5a619e5f533">shark::CARTree&lt; LabelType &gt;::transformInternalNode()</a>, and <a class="el" href="classshark_1_1_c_a_r_tree.html#a2e1416b62cbf5b9704fb0d3ff8e3fa4d">shark::CARTree&lt; LabelType &gt;::transformLeafNode()</a>.</p>

</div>
</div>
<a id="a76b5e6f60f3f6a8d5938c5ac4ccb1a4b" name="a76b5e6f60f3f6a8d5938c5ac4ccb1a4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">&#9670;&#160;</a></span>rightIdOrIndex</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::Node::rightIdOrIndex</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00063">63</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_a_r_tree.html#ad91c08d09c8d94522cb44b7807a73ade">shark::CARTree&lt; LabelType &gt;::createRoot()</a>, <a class="el" href="classshark_1_1_c_a_r_tree.html#ae38eaeb8b77503cb46cdefdce5d363ca">shark::CARTree&lt; LabelType &gt;::reorderBFS()</a>, <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a7f0359db7d16743640dbd9478f8fc5f7">shark::CARTree&lt; LabelType &gt;::Node::serialize()</a>, <a class="el" href="classshark_1_1_c_a_r_tree.html#a3cb77d15a5e99bfb46b1d5a619e5f533">shark::CARTree&lt; LabelType &gt;::transformInternalNode()</a>, and <a class="el" href="classshark_1_1_c_a_r_tree.html#a2e1416b62cbf5b9704fb0d3ff8e3fa4d">shark::CARTree&lt; LabelType &gt;::transformLeafNode()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Models/Trees/<a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
